package ooday02;

public class Chick extends Animal{

    Chick(String name,int age,String color,String food){
        super(name,age,color,food);

    }
    void agg(){
        System.out.println(name+"在下蛋");
    }
    void eat(){
        super.eat();
        System.out.println(food);
    }
}
